package com.hefei.garden.config.netty.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Configuration
@RefreshScope
@Data
public class NettyBaseInfo {

    @Value("${netty.port}")
    private int port;

    @Value("${netty.boss.threadCount}")
    private int bossThread;

    @Value("${netty.worker.threadCount}")
    private int workerThread;

}
